package com.xiaoma.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: xiaoma
 * @Date: 2021/7/9 11:25
 * @description:
 */
@ConfigurationProperties(prefix = "xiaoma.thread")
@Data
//@Component
public class ThreadPoolProperties {
    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
